package com.jeomo.mem.starter.enums;

/**
 * 年份类型
 * @author:Jackpot
 * @create 2020-09-17 17:56
 */
public enum YearTypeEnum {

    /** 本年*/
    THIS_YEAR(1,"本年"),
    /** 次年*/
    SECOND_YEAR(2,"次年")

    ;

    private int code;
    private String name;

    YearTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }}
